﻿using Abp.Application.Services;
using FwProject.ShopApplication;
using FwProject.Statistics.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using X.PagedList;

namespace FwProject.Statistics
{
    public interface IStatisticsAppService: IApplicationService
    {
        /// <summary>
        /// 获取销售收入统计数据
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="time"></param>
        /// <returns></returns>
        Task<IPagedList<SalesRevenueOutputDto>> GetSalesRevenueDataAsync(int page, int limit, DateTime time);

        /// <summary>
        /// 获取热卖商品数据
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="filter"></param>
        /// <returns></returns>
        //Task<LayerDataBaseDto> GetHotSaleItemData(int page, int limit, HotSaleItemFilter filter);

    }
}
